package usbcali.edu.dataaccess.dao;

import usbcali.edu.persistencia.CentroDeCostos;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for CentroDeCostosDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface ICentroDeCostosDAO {
    public void save(CentroDeCostos instance);

    public void delete(CentroDeCostos instance);

    public void update(CentroDeCostos instance);

    public CentroDeCostos findById(String id);

    public List<CentroDeCostos> findByExample(CentroDeCostos instance);

    public List<CentroDeCostos> findByProperty(String propertyName, Object value);

    public List<CentroDeCostos> findAll();

    public List<CentroDeCostos> findByCriteria(String whereCondition);

    public List<CentroDeCostos> findPageCentroDeCostos(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberCentroDeCostos();

    public List<CentroDeCostos> findByCodCc(Object codCc);

    public List<CentroDeCostos> findByDescripcion(Object descripcion);
}
